import { IsDefined } from 'class-validator';

export class VerifyCheckDto {
  @IsDefined({ message: '手机号必填' })
  mobile: string;

  // @IsDefined({ message: '验证参数必填' })
  // x: number;

  @IsDefined({ message: 'randstr参数必填' })
  randstr: string;

  @IsDefined({ message: 'ticket参数必填' })
  ticket: string;
}
